| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

OneChannelPack.h
1 // OneChannelPack.h
3 //
5
6 namespace nkAstraeus
7 {
11 enum class ONE_CHANNEL_PACK
12 {
13 R = 0,
14 G,
15 B,
16 A
17 } ;
18
22 class OneChannelPackUtils final
23 {
24 public :
25
26 // Translation
54 static nkMemory::StringView enumToStringLower (ONE_CHANNEL_PACK value) ;
82 static ONE_CHANNEL_PACK stringLowerToEnum (nkMemory::StringView value) ;
83 } ;
84 }
nkAstraeus::ONE_CHANNEL_PACK::B
@ B
Blue channel.
nkAstraeus::OneChannelPackUtils::stringLowerToEnum
static ONE_CHANNEL_PACK stringLowerToEnum(nkMemory::StringView value)
nkAstraeus::OneChannelPackUtils::enumToStringLower
static nkMemory::StringView enumToStringLower(ONE_CHANNEL_PACK value)
nkAstraeus::ONE_CHANNEL_PACK::A
@ A
Alpha channel.
nkAstraeus
Encompasses all API of component NilkinsAstraeus.
Definition: BlurComplexEffect.h:7
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkAstraeus::ONE_CHANNEL_PACK
ONE_CHANNEL_PACK
Enumeration of texture channels, one by one.
Definition: OneChannelPack.h:12
nkAstraeus::ONE_CHANNEL_PACK::G
@ G
Green channel.
nkAstraeus::OneChannelPackUtils
Offers tools to work with the ONE_CHANNEL_PACK enumeration.
Definition: OneChannelPack.h:23
nkAstraeus::ONE_CHANNEL_PACK::R
@ R
Red channel.